package org.dizem.freepl0.compiler.tablemanager;

/**
 * Created by IntelliJ IDEA.
 * User: DIZEM
 * Date: 11-2-2
 * Time: 上午12:09
 */
public class Table {


	private String name = "";
	private TableType type;
	private int val;
	private int level;
	private int address;
	private int size;

	public void setName(String name) {
		this.name = name;
	}

	public void setType(TableType type) {
		this.type = type;
	}

	public void setVal(int val) {
		this.val = val;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public void setAddress(int address) {
		this.address = address;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public String getName() {
		return name;
	}

	public TableType getType() {
		return type;
	}

	public int getVal() {
		return val;
	}

	public int getLevel() {
		return level;
	}

	public int getAddress() {
		return address;
	}

	public int getSize() {
		return size;
	}
}
